﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="Include.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>创意产业园</title>
<link href="images/style.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="images/js.js" type="text/ecmascript"></script>
<script type="text/javascript" src="images/jcarousellite.js"></script>
</head>
<body>
<script language="JavaScript" type="text/javascript">
    function addCookie(objName, objValue, objHours) {
        var str = objName + "=" + escape(objValue);
        if (objHours > 0) {
            var date = new Date();
            var ms = objHours * 3600 * 1000;
            date.setTime(date.getTime() + ms);
            str += "; expires=" + date.toGMTString();
        }
        document.cookie = str;
        alert("添加cookie成功");
    }

    function getCookie(objName) {
        var arrStr = document.cookie.split("; ");
        for (var i = 0; i < arrStr.length; i++) {
            var temp = arrStr[i].split("=");
            if (temp[0] == objName) return unescape(temp[1]);
        }
    }

    function delCookie(name) {
        var date = new Date();
        date.setTime(date.getTime() - 10000);
        document.cookie = name + "=a; expires=" + date.toGMTString();
    }
   </script>
   <script language="JavaScript" type="text/javascript">
       $(document).ready(function () {
           $(".username").val(getCookie("sd-username"));
           $(".password").val(getCookie("sd-password"));


           $(".jCarouselLite").jCarouselLite({
               auto:3000,
               scroll:4,
               speed:1000,
               visible:8
           });
       });
    </script>
<div id="all">
<!--#include file="header.asp"-->
<div class="index">
<div class="gonggao">
<h3><a class="more" href="#">more</a><em>NOTICE</em>通知公告</h3>
<ul>
<%
        sql=" Select top 5 * from news where ssfl=6 order by id desc"
        Set rs = Server.CreateObject ("ADODB.Recordset")
        rs.open sql,conn,1,1
        do while not rs.eof
            UpdateTime = Month(rs("UpdateTime")) & "-" & day(rs("UpdateTime")) 
            response.write ("<li><span>["& UpdateTime &"]</span><a href=""/newsinfo.asp?id="& rs("id") &""" target=""_blank"">"& left(rs("title"),40) &"...</a></li>") & vbcrlf
            rs.movenext
        loop
        rs.close
        set rs=nothing
        %>
</ul>
</div>
<div class="luenhuan">

	<script type="text/javascript">
    <!--
    var focus_width=492//图片宽
    var focus_height=268//图片高
    var text_height=0//设置显示文字标题高度,最佳为20（如果不显示标题值设为0即可）
    var swf_height = focus_height + text_height
    var pics = "";
    var links = "";
    var texts = "";
    
    <%
    set db=conn.execute("select top 5 * from [ad1] where sortid=1 order by ordersid asc")
    i=0
    do while not db.eof
        pics=pics&"|"&db("pic_url")
        links=links&"|"&db("link_url")
        texts=texts&"|"&db("title")
        db.moveNext
    i=i+1
    loop
    'on error resume next'
    response.write "var pics='"&right(pics,len(pics)-1)&"'"&vbcrlf
    response.write "var links='"&right(links,len(links)-1)&"'"&vbcrlf
    response.write "var texts='"&right(texts,len(texts)-1)&"'"&vbcrlf
    %>
    document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/adplay.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
    document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
    document.write('<embed ID="focus_flash" src="images/adplay.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#C5C5C5" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>'); 
    //-->
    var pics = "";
    var links = "";
    var texts = "";
    </script>

</div>
<div class="login">
    <form action="/login_pass.asp" name="logins" id="logins">
        <input name="username" value="" id="username" class="username"/>
        <input name="password" type="password" value="" id="password" class="password"/>
        <input type="submit" name="button" id="button" value="" class="submit" />
        <a class="a1" href="regist.asp"></a> <a class="a2" href="#"></a>
    </form>
    <img style="position:absolute; bottom:0;" src="images/img_index_jifen.jpg"> </div>

<div style="clear:both"></div>
<<div class="vedio"> 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="images/start.swf" width="280" height="223">
  <param name="movie" value="images/start.swf" />
  <PARAM name="AutoStart" value="1">  
  <param name="quality" value="high" />
  <param name='Volume' value='100'>
  <param name="EnableContextMenu" value="0">
  <embed src="images/start.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="223"></embed>
</object>
</div>
<div class="news">
<h3><a class="more" href="#">more</a><em>NEWS</em>行业新闻</h3>
<ul>
<%
        sql=" Select top 6 * from news where ssfl=4 order by id desc"
        Set rs = Server.CreateObject ("ADODB.Recordset")
        rs.open sql,conn,1,1
		dim tmpnum
		tmpnum = 1
        do while not rs.eof
            UpdateTime =  year(rs("UpdateTime")) & "-" & Month(rs("UpdateTime")) & "-" & day(rs("UpdateTime")) 
            response.write "<li><span>["& UpdateTime &"]</span>"
			select case tmpnum
			case 2,4,6
				response.write "<em>" & tmpnum & "</em>"
			case else
				response.write "<i>" & tmpnum & "</i>"
			end select
			response.write "<a href=""/newsinfo.asp?id="& rs("id") &""" target=""_blank"">"
			response.write  left(rs("title"),40) &"...</a>"
			response.write "</li>" & vbcrlf
			tmpnum = tmpnum + 1
            rs.movenext
        loop
        rs.close
        set rs=nothing
        %>
</li>
</div>
<div class="download"> 
<%
    set rs=server.createobject("adodb.recordset") 
    exec="select top 1 * from Annex where sortid=2 order by id desc" 
    rs.open exec,conn,1,1 
    do while not rs.eof
        response.write "<span class=""title"">"
        response.write rs("Title")
        response.write "</span>"
        response.write "<span class=""dl"">"
        response.write "<a href=""" & rs("Annex")  &""">"
        response.write "点击下载</a></span>"
    rs.movenext
loop
 %>
    
</div>
<div style="clear:both"></div>
<div class="huodong">
    <ul>
<% 
set rs=server.createobject("adodb.recordset") 
exec="select * from doings order by id desc" 
rs.open exec,conn,1,1 
i = 0
do while not rs.eof
    response.write  "<a href=""/doings.asp?id="& rs("id") &""" target=""_blank"">"
    response.write "<li><strong>" & rs("title") & "</strong>"
    temp = rs("body")
    if len(temp) > 24 Then
        temp = left(temp,23) & "..."
    end if
    response.write "<p>"& temp & "</p>"
    response.write "</a>"
    if(i<2) then
        response.write "<span class=""go""></span><span class=""line""></span></li>"
    end if
    i=i+1
    rs.movenext
loop
rs.close
set rs=nothing
%>
       
    </ul>
</div>
<div class="news">
<h3><a class="more" href="#">more</a><em>NEWS</em>日常新闻</h3>
<ul>
<%
        sql=" Select top 6 * from news where ssfl=1 order by id desc"
        Set rs = Server.CreateObject ("ADODB.Recordset")
        rs.open sql,conn,1,1
		tmpnum = 1
        do while not rs.eof
            UpdateTime =  year(rs("UpdateTime")) & "-" & Month(rs("UpdateTime")) & "-" & day(rs("UpdateTime")) 
            response.write "<li><span>["& UpdateTime &"]</span>"
			select case tmpnum
			case 2,4,6
				response.write "<em>" & tmpnum & "</em>"
			case else
				response.write "<i>" & tmpnum & "</i>"
			end select
			response.write "<a href=""/newsinfo.asp?id="& rs("id") &""" target=""_blank"">"
			response.write  left(rs("title"),40) &"...</a>"
			response.write "</li>" & vbcrlf
			tmpnum = tmpnum + 1
            rs.movenext
        loop
        rs.close
        set rs=nothing
        %>
</ul>
</div>
<div class="jingye"> <img src="images/img_index_jingye.jpg"> </div>
<div style="clear:both"></div>
<div class="job">
    <ul>
        <%
        set rs=server.createobject("adodb.recordset") 
        exec="select top 5 * from job order by id desc" 
        rs.open exec,conn,1,1 
        do while not rs.eof 
            response.write "<li><a href=""/jobinfo.asp?id="& rs("sortid")+80 &"&jobid="& rs("id") &""" target=""_blank"">"& rs("Title") & rs("Descriptions") &"</a></li>" & vbcrlf
            rs.movenext
        loop
        rs.close
        set rs=nothing
        %>
    </ul>
</div>
<div class="yuanqugailan"> <img src="images/img_index_yuanqugailan.jpg"/> </div>
<div class="about"> 顺德创意产业园位于珠三角最具活力的顺德中心城区——大良凤翔路 <a href="#"><img src="images/bg_index_more_01.jpg"></a> </div>
<div style="clear:both"></div>
<div class="qiyeyuanqu">
    <div class="jCarouselLite">
        <ul>
            <%
    		set rs=server.createobject("adodb.recordset") 
    		exec="select top 16 * from Enterprise where elite=1 order by id desc" 
    		rs.open exec,conn,1,1  
    		do while not rs.eof 
    		response.write "<li><a target='_blank' href='EntrepreneursContent.asp?id="& rs("id") &"'><img src='"& rs("Logo") &"'></a></li>" & vbcrlf
    		rs.movenext
    		loop
    		rs.close
    		set rs=nothing
    		%>
        </ul>
    </div>
</div>
<div style="clear:both"></div>
<div class="friendlink">
    <%	
        set rs=server.createobject("adodb.recordset") 
        exec="select top 8 * from FriendLinks order by ordersID asc" 
        rs.open exec,conn,1,1 
        do while not rs.eof
        response.Write ("<a href='"& rs("url") &"'><img src="& rs("logo_url") &"></a>")
        rs.movenext
        loop
        rs.close
        set rs =nothing
        %>
</div>
</div>
<!--#include file="bottom.asp"-->
</div>
</body>
</html>
